<div class="row">

	<ul class="nav nav-tabs">
		<li><a href="<?=site_url('home/view_admin');?>">Administrative Employees</a></li>
		<li class="active"><a href="#">Teaching Personnel</a></li>
	</ul>
	<div class="navbar">
	  <div class="navbar-inner">
		<a class="brand" href="<?=site_url('home/view_teaching');?>">Teaching Personnel</a>
		<ul class="nav">
		  <li><a href="<?=site_url('home/view_teaching');?>">View</a></li>
		  <li class="active"><a href="<?=site_url('home/add_teach');?>">Add Teaching Personnel</a></li>
		  <li><a href="#">Update Table</a></li>
		</ul>
	  </div>
	</div>

	<?php echo validation_errors()== '' ? NULL : '<div class="alert alert-error">'.validation_errors().'</div>';?>
	<?=$system_message;?>

	<form class="well" action="<?=site_url('home/add_teach');?>" method="POST">
	<div class="row">
		<div class="span4">
			<p class="lead">Profile:</p>
		</div>
	</div>

	<div class="row">
		<div class="span3">
			<label>Firstname</label>
			<input type="text" name="firstname" value="<?=set_value('firstname');?>" required>
		</div>
		<div class="span3">
			<label>lastname</label>
			<input type="text" name="lastname" value="<?=set_value('lastname');?>" required>
		</div>
		<div class="span3">
			<label>Middlename</label>
			<input type="text" name="middlename" value="<?=set_value('middlename');?>">
		</div>
		<div class="span1">
			<label>Age</label>
			<input type="text" class="span1" name="age" value="<?=set_value('age');?>" required>
		</div>
		<div class="span1">
			<label>gender</label>
			<select class="span2" name="gender">
				<option></option>
				<option value="M">Male</option>
				<option value="F">Female</option>
			</select>
		</div>
	</div>
	


	<div class="row">
		<div class="span4">
			<p class="lead">Educational Attainment:</p>
		</div>
	</div>
	
	<div class="row">
		<div class="span3">
			<label>Baccalaureate</label>
			<input type="text" name="baccalaureate" value="<?=set_value('baccalaureate');?>" required>
		</div>
		<div class="span3">
			<label>Masters/Doctorate</label>
			<input type="text" name="masters" value="<?=set_value('masters');?>" required>
		</div>
		<div class="span3">
			<label>Licensure Exams taken</label>
			<input type="text" name="licensure_exams_taken" value="<?=set_value('licensure_exams_taken');?>">
		</div>
	</div>
	
	<div class="row">
		<div class="span4">
			<p class="lead">Work</p>
		</div>
	</div>
	
	<div class="row">
		<div class="span3">
			<label>Employment Status</label>
			<input type="text" name="employment_stat" value="<?=set_value('employment_stat');?>" required>
		</div>
		<div class="span3">
			<label>subjects Handled</label>
			<input type="text" name="subj_handled" value="<?=set_value('subj_handled');?>" required>
		</div>
		<div class="span3">
			<label>Teaching Experience (years)</label>
			<input type="text" class="span1" name="admin_work_exp" value="<?=set_value('admin_work_exp');?>">
		</div>
		<div class="span2">
			<label>Admin Experience (years)</label>
			<input type="text" class="span1" name="teaching_work_exp" value="<?=set_value('teaching_work_exp');?>">
		</div>
	</div>
	<div class="row">
		<div class="span4">
			<input type="submit" name="add_teacher" value="Add Teacher" class="btn btn-primary">
		</div>
	</div>
</from>
</div>